package com.itboye.textileexpres.logincontroller;


import android.app.Activity;
import android.content.Intent;

import com.itboye.textileexpres.R;
import com.itboye.textileexpres.login.LoginActivity;
/**
 * 没有登录的状态
 *
 */
public class UnLoginState implements ILoginState {

	private void doUnLogin(Activity act) {
		Intent intent=new Intent(act, LoginActivity.class);
	System.out.println("bytagbytag");
		act.startActivity(intent);
		act.overridePendingTransition(R.anim.anim_raiseup, 0);
	}

	@Override
	public void SetString(Activity act, Object data) {
		// TODO Auto-generated method stub
		doUnLogin(act);
	}



}
